//
//  JGUpdateWorkStatusApi.m
//  JGRider
//
//  Created by 单启志 on 2018/3/12.
//  Copyright © 2018年 ffq. All rights reserved.
//

#import "JGUpdateWorkStatusApi.h"

@implementation JGUpdateWorkStatusApi

-(NSString *)requestUrl{
    return @"api/member/memMember.do?action=updateWorkStatus";
}

-(void)updateWorkStatusSuccessBlock:(void(^)(id result))invokeSuccessBlock faileBlock:(void(^)(id error))invokeFaileBlock{

    NSMutableDictionary *dic=[NSMutableDictionary dictionary];
    dic[@"mid"]=LoginModel.Id;
    [[JGRequestHelper share]requestWithParams:dic requestApi:[self class] successBlock:^(id result) {
        invokeSuccessBlock(result);
    } faileBlock:^(id error) {
        invokeFaileBlock(error);
    }];

}

@end
